package cn.edu.jlu.community.config;

import cn.edu.jlu.community.app.GlobalContext;

/**
 * Appication config manager
 *
 * User: kode
 * Date: 14-10-14
 */
public class AppConfig {
    // Pref keys
    public static final String FIRST_START = "first_start";
    public static final String LOGIN_STATE = "login_state";

    public static boolean getFirstStartInfo(){
//        return ConfigUtil.getSharedPreferences(AppContext.getInstance(), FIRST_START, true);
        return false;
    }

    public static boolean getLoginState(){
        return ConfigUtil.getSharedPreferences(GlobalContext.getInstance(), LOGIN_STATE, false);
    }
}
